package com.s63.appinfo.service.impl;

import com.s63.appinfo.mapper.AppCategoryMapper;
import com.s63.appinfo.pojo.AppCategory;
import com.s63.appinfo.service.AppCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppCategoryServiceImpl implements AppCategoryService {
    @Autowired
    private AppCategoryMapper appCategoryMapper;

    @Override
    public List<AppCategory> getByParentId(Long parentId) {
        return appCategoryMapper.selectByParentId(parentId);
    }
}
